import request from '@/utils/request'

export function listAuditing(query) {
  return request({
    url: '/auditing/list',
    method: 'get',
    params: query
  })
}

export function showGoods(data) {
  return request({
    url: '/auditing/showGoods',
    method: 'post',
    data
  })
}

export function refuse(query) {
  return request({
    url: '/auditing/refuseGoods',
    method: 'get',
    params: query
  })
}

export function accept(query) {
  return request({
    url: '/auditing/acceptGoods',
    method: 'get',
    params: query
  })
}

export function acceptAll(data) {
  return request({
    url: '/auditing/acceptAllGoods',
    method: 'post',
    data
  })
}
